using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class widgets_Daily_Quote_widget : WidgetBase
{
    public override void LoadWidget()
    {
        GetDailyQuote.QuoteofTheDay quote = new GetDailyQuote.QuoteofTheDay();
        lblQuote.Text = quote.GetQuote().QuoteOfTheDay;
        lblQuoteAuthor.Text = "- " + quote.GetQuote().Author;

    }

    public override string Name
    {
        get { return "Daily Quote"; }
    }

    public override bool IsEditable
    {
        get { return false; }
    }
}
